import { createRouter, createWebHashHistory } from "vue-router";

const routes=[
  {
    path: "/",
    name: "",
    component: () => import("../views/home.vue"),
  },
  {
    path: "/home",
    name: "home",
    component: () => import("../views/home.vue"),
  },
]

// 路由
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});
// 导出
export default router;